*{
    margin: 0;
    padding: 0;
}
body{
    background-color:#F7F7F7;
}
/* 导航部分 */
.nav {
    height: 40px;
    width: 100%;
    min-width: 800px;
    text-align: center;
    background-color:#20B2AA;
}
.header {
    width: 100%;
    height: 30px;
    background: rgba(128, 128, 128, 0.22)
}
#header {
    width:800px;
    height: 30px;
    margin: 0 auto;
}
#logo {
    height: 40px;
}
/* 左边 */
.header-left {
    width: 85px;
    height: 30px;
    float: left;
    position:relative;
    cursor:pointer;
}
.header-left >span,.header-right>.adm{
    font-size:12px;
    line-height: 30px;
}
.header-left > .icon {
	width:19px;
    height:17px;
    background-image:url(../images/location.png);
    top:50%;
    margin-top:-8.75px;
    position:absolute;
}
.header-left>.first{
    margin-left:30px;
}

/* 中间 */
.header-center {
    height: 30px;
    width:595px;
    text-align:center;
    line-height: 30px;
    float: left;
}
.header-center > a {
    margin-right:40px;
	text-decoration: none;
	font-size: 16px;
	color:#333;
}
/* 右边 */
.header-right {
    height: 30px;
    width:100px;
    float: right;
    position:relative;
    cursor:pointer;
}
.header-right > .icon {
    top:50%;
    margin-top:-8.5px;
    position:absolute;
    width:19px;
    height:17.5px;
    background:url(../images/adm.png)
}
.header-right > .adm {
    margin-left:30px;

}
/*  首页条部分*/
.homebar{
    border:0px solid red;
    width:800px;
    height:30px;
    margin: 5px auto;
    line-height: 30px;
    font-size:13px;
}
.homebar span {
    margin-left: 20px;
}
/* 分类部分 */
.categorybar {
    background-color:#EBEBEB;
    border:0px solid red;
    width:800px;
    margin: 5px auto;
}
#table a {
    text-decoration: none;
    color: black;
}
#table a:visited{
    border:1px solid yellow;
    background-color: white;
}
#table a:hover,#table a:active{
    border:1px solid yellow;
    background-color: white;  
}
td {
    font-size: 12px;
    height: 30px;
    width:60px;
    text-align: center;
}
.td-icon{
    background: url(../images/indexSelect.png);
    background-color: white;
}
#td-label{
    color: #20B2AA;
}
/* 搜索条部分 */
.searchbar {
    width:800px;
    height:40px;
    background-color: #EBEBEB;
    margin: 5px auto;
}
.searchbar-left{
    font-size:12px;
    line-height: 40px;
    width: 200px;
    padding-left: 20px;
    float: left;
}
.searchbar-left i {
    margin-right:5px;
}
.searchbar-center{
    height: 40px;
    width:300px;
    float: left;
    position: relative;
}
/* 搜索条里的输入框 */
.searchbar-center input {
    box-sizing: border-box;
    font-size: 12px;
    width:200px;
    height: 28px;
    outline: none;
    border-radius: 20px;
    background: white;
    position: absolute;
    top:50%;
    left:50%;
    margin-top:-14px;
    margin-left: -100px;
    padding-left:10px;
    border: 1px solid #EBEBEB;

}
/* 搜索条里的按钮 */
.searchbar-center button {
    border:none;
    cursor: pointer;
    display: block;
    width:20px;
    height:20px;
    outline: none;
    background:url(../images/search.png) no-repeat;
    position: absolute;
    top:50%;
    margin-top: -8px;
    right: calc(50% - 90px);
}
.searchbar-right {
    width: 200px;
    height: 40px;
    line-height: 40px;
    border: 0px solid red;
    float: right;
    font-size: 12px;
}
.searchbar-right a {
    text-decoration: none;
    color: #20B2AA;
    border: 0px solid green;
}
.searchbar-right #wenhao{
    width: 16px;
    height: 16px;
    float:left;
    margin-top: 13px;
    border:0px solid red;
}


/* 主体部分 */
.main {
    background-color: #F7F7F7;
    border:0px solid red;
    width:800px;
    height:600px;
    margin: 5px auto;
}
.main p {
    font-size: 12px;
    margin-top: 3px;
    margin-left: 5px;
}
.main-top{
    border: 0px solid red;
    width:100%;
    height: 300px;
}
.main-top div,.main-buttom div{
    background-color:#EBEBEB;
    
}
.main-top div:first-child{

    width:190px;
    height: 280px;
    margin:10px 7px 5px 0px;
    float:left;
}
.main-top > div:first-child {
    color: #FBBD5A;
}
.main img {
    width: 180px;
    height: 180px;
    margin: 5px;
}
.main-top div:nth-child(2) {
   
    width:190px;
    height: 280px;
    margin: 10px 6px 5px 6px;
    float:left;
}
.main-top div:nth-child(3) {

    width:190px;
    height: 280px;
    margin: 10px 6px 5px 6px;
    float:left;
}
.main-top div:nth-child(4) {
    width:190px;
    height: 280px;
    margin: 10px 0px 5px 5px;
    float:right;
}
.main-buttom{
    width:100%;
    height: 300px;
}
.main-buttom div:first-child{
    width:190px;
    height: 280px;
    margin:5px 7px 10px 0px;
    float:left;
}
.main-buttom div:nth-child(2) {
    width:190px;
    height: 280px;
    margin: 5px 6px 10px 6px;
    float:left;
}
.main-buttom div:nth-child(3) {
    width:190px;
    height: 280px;
    margin: 5px 5px 10px 5px;
    float:left;
}
.main-buttom div:nth-child(4) {
    width:190px;
    height: 280px;
    margin: 5px 0px 10px 5px;
    float:right;
}
/* 分页部分 */
.pagingbar{
    background-color:#F7F7F7;
    border:0px solid red;
    width:800px;
    height:40px;
    margin: 5px auto;
}
/* 上一页按钮 */
.pag-left{
    border: 0px solid red;
    width: 80px;
    height: 40px;
    float:left;
    line-height: 40px;
}
.pag-left button {
    width:80px;
    height: 30px;
    border: none;
}
.pag-pages{
    border: 0px solid red;
    width: 200px;
    height: 40px;
    float:left;
    text-align: center;
    line-height: 40px;
}
/* 页码 */
.pag-pages a:first-child{
    color: #FFA700;
    margin-left: 5px;
}
.pag-pages a:nth-child(2){
    color: #333;
    margin-left: 5px;
    text-decoration: none;
}
.pag-pages a:nth-child(3){
    color: #333;
    margin-left: 5px;
    text-decoration: none;
}
.pag-pages a:nth-child(4){
    color: #333;
    margin-left: 5px;
    text-decoration: none;
}
.pag-pages a:nth-child(5){
    color: #333;
    margin-left: 5px;
    text-decoration: none;
}
/* 下一页按钮 */
.pag-next{
    border: 0px solid red;
    width: 80px;
    height: 40px;
    line-height: 40px;
    float:left;
}
.pag-next button {

    width:80px;
    border:none;
    height: 30px;
}
.pag-all{
    border: 0px solid red;
    width: 200px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size:14px;
    float:left;
}
.pag-all input {
    width:16px;
    height: 16px;
    background-color: white;
    border: 1px solid black;
    margin: auto 5px;
}
/* 确定按钮 */
.pag-right{
    border: 0px solid red;
    width: 80px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    float: left;
}
.pag-right button {
    background-color: #FFA700;
    color: white;
    width: 45px;
    height: 25px;
    border: none;
}
/* 广告部分 */
.adv{
    width:800px;
    height:140px;
    margin: 5px auto;

}
.adv-left{
    width: 120px;
    height: 120px;
    margin: 10px;
    float:left;
}
.adv-left img {
    width: 120px;
    height:120px;
}
.adv-right{
    width: 650px;
    height: 140px;
    float:right;
    border:0px solid blue;

}
.adv-right-top{
    border:0px solid red;
    width:400px;
    margin-top: 50px;
    margin-bottom:10px;
    height: 20px;


}
.adv-right-top p{
    font-size: 16px;
    color:#18BEBE;
    margin-left: 10px;

}
.adv-right-buttom{
    border:0px solid red;
    width:400px;
    height: 70px;
    font-size: 12px;
}
.adv-right-buttom > div:first-child, .adv-right-buttom > div:last-child{
    border:0px solid red;
    width:350px;
    height: 20px;
    line-height: 20px;
    margin-left: 10px;
}

/* 版权部分 */
.footer{
    background-color: #515151;
    width:100%;
    height:180px;
    margin: 5px auto;
}
#footer{
   width: 800px;
   height: 180px;
   border:0px solid red;
   margin:0 auto;
}
.footer-top{
    width: 800px;
    height: 135px;
    margin-bottom: 5px;
    border-bottom: 1px solid #646566;;

}
.footer-top-left {
    width: 398px;
    height: 130px;
    border: 0px solid green;
    float: left;
}
.footer-top div:first-child img {
    margin-top: 5px;
    margin-left: 10px;
}
#p-text1{

    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color:white;
}
#p-text2{
    font-size: 12px;
    color:#DCDCDC;
    margin-left:10px;
}
.footer-top-center {
    width: 198px;
    height: 130px;
    border: 0px solid green;
    float: left;
}
#about-left{
    border:0px solid black;
    height:80px;
    width: 80px;
    float: left;
    text-align: center;
    margin-top: 40px;
}

#aboutus{
    width: 50px;
    height:20px;
    margin-left: auto;
    margin-right: auto;
    margin-top:15px;
   text-align: center;
   line-height: 20px;
    font-size: 12px;
    color:#DCDCDC;
    
}
#callus{
    width: 50px;
    height:20px;
    margin-left: auto;
    margin-right: auto;
   text-align: center;
   line-height: 20px;
    font-size: 12px;
    color:#DCDCDC;
}
#joinus {
    width: 50px;
    height:20px;
    margin-left: auto;
    margin-right: auto;
   text-align: center;
   line-height: 20px;
    font-size: 12px;
    color:#DCDCDC;
}
#about-right{
    border:0px solid rebeccapurple;
    height:80px;
    width: 80px;
    display: block;
    text-align: center;
    float:right;
    margin-top: 40px;
   
}
#about-left a ,#about-right a{
    text-decoration: none;
    color: #A0A2A2;
}
.footer-top-right {
    width: 198px;
    height: 130px;
    float:right;
    text-align: center;
}
.footer-top-right #weixin{
   text-align: center;
    width:100px;
    border:0px solid yellow;
    margin-top: 30px;
    margin-left: auto;
    margin-right:auto;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
}
.footer-top-right #tianmao{
     width:110px;
     border:0px solid red;
     margin-left: auto;
     margin-right:auto;
     font-size: 12px;
     height: 30px;
     line-height: 30px;
 }
 .footer-top-right #shop{
    width:100px;
    border:0px solid blue;
    margin-left: auto;
    margin-right:auto;
    font-size: 12px;
    height: 30px;
    line-height: 30px;

 }
#weixin img{
    border:0px solid red;
    width: 20px;
    height: 18px;
    float:left;
}
#tianmao img{
    border:0px solid red;
    float: left;
    width: 20px;
    height: 18px;
    margin-top: 5px;
    margin-left:15px;
    margin-right: 6px;
}
#shop img{
    border:0px solid red;
    float:left;
    width: 20px;
    height: 18px;
    margin-top:5px;
    margin-left:10px;
}
.footer-top-right a{
    width:12px;
    height: 12px;
    color:#DCDCDC;
    text-decoration: none;
}
/* 第一个小图标 */

.footer-bottom{
    width: 800px;
    height: 40px;
}
.footer-bottom-left{
    width: 200px;
    height: 40px;
    padding-left: 10px;
    color:#DCDCDC;
    font-size: 10px;
    line-height: 40px;
    border:0px solid red;

    float:left;
}
.footer-bottom-right{
    width:280px;
    float:right;
    color:#DCDCDC;
    text-align: center;
    height:40px;
    font-size: 10px;
    line-height:40px;
    border:0px solid red;
}
